{% extends 'back/Content_list.html' %}
{% block content %}
    <div class="page-title">
        <div class="title-env">
            <h1 class="title">内容详情</h1>
        </div>
        <div class="breadcrumb-env">
            <ol class="breadcrumb bc-1">
                <li>
                    <a href={% url 'index' %}><i class="fa-home"></i>主页</a>
                </li>
                <li class="active">
                    <strong>内容详情</strong>
                </li>
            </ol>
        </div>

    </div>

    <div class="row">
        <div class="col-sm-12">

            <div class="panel panel-default">
                <div class="panel-body">
                    <form role="form" class="form-horizontal" >
                        <div class="form-group">
                            <label class="col-sm-1 control-label" ><strong>题目</strong></label>
                            <div class="col-sm-11">
                                <label class="control-label" >{{ content.title }}</label>
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="col-sm-1 control-label"><strong>类别</strong></label>
                            <div class="col-sm-11">
                                <label class="control-label" >{{ content.secondleibie }}</label>
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="col-sm-1 control-label"><strong>时间</strong></label>
                            <div class="col-sm-11">
                                <label class="control-label" >{{ content.addTime|date:"Y-m-d" }}</label>
                            </div>
                        </div>
                        <div class="form-group-separator"></div>

                        <div class="form-group">
                            <label class="col-sm-1 control-label"><strong>内容</strong></label>
                            <div class="col-sm-11">
                                {% autoescape off %}
                                    {{ content.context }}
                                {% endautoescape %}
                            </div>
                        </div>
                    </form>

                </div>
            </div>
        </div>
    </div>
    <!-- Main Footer -->
    <!-- Choose between footer styles: "footer-type-1" or "footer-type-2" -->
    <!-- Add class "sticky" to  always stick the footer to the end of page (if page contents is small) -->
    <!-- Or class "fixed" to  always fix the footer to the end of page -->

{% endblock %}
